package com.cnswhy.cloud.server.core.service.spell.impl;


import com.cnswhy.cloud.server.core.dao.BuyBackOrderMapper;
import com.cnswhy.cloud.server.core.entity.BuyBackOrder;
import com.cnswhy.cloud.server.core.service.spell.BuyBackOrderService;
import com.cnswhy.cloud.common.core.base.service.SuperServiceImpl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>
 * 业务实现类
 * 
 * </p>
 *
 * @author cnswhy
 * @date 2020-09-30
 */
@Slf4j
@Service

public class BuyBackOrderServiceImpl extends SuperServiceImpl<BuyBackOrderMapper, BuyBackOrder> implements BuyBackOrderService {
    @Override
    public BigDecimal getSumAmountBySettDate(String settDate, int backType) {
        return baseMapper.getSumAmountBySettDate(settDate,backType);
    }
}
